package com.usian.admin.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("leadnews-search")
public interface SearchFeign {


    @PostMapping("/api/v1/importData/import")
    public String importData(@RequestBody Map<String, Object> map);
}
